Two undercover Phoenix police officers were serving a warrant on a homicide suspect when a shootout occurred.